<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    .aaa {
      width: 200px;
      height: 200px;
      display: flex;
      background: linear-gradient(90deg, blue, red);
      /* background: linear-gradient(90deg, blue 0%, red 100%); */
    }
    .bbb {
      width: 200px;
      height: 200px;
      display: flex;
      background: linear-gradient(0.25turn, blue 0%, red 100%);
    }
    .ccc {
      width: 200px;
      height: 200px;
      display: flex;
      background: linear-gradient(180deg, blue 0%, green 50%, red 100%);
      /* 向下 */
    }
  </style>
  <body>
    <div class="aaa">aaa</div>
    <br>
    <div class="bbb">bbb</div>
    <br>
    <div class="ccc">ccc</div>
  </body>
</html>
